Skip to content

Publish betas to a focusrite-volume-control@beta cask; DMG + Homebrew on every release page - #3

Merged
nickmorozov merged 2 commits into
mainfrom
draft/keen-cannon-96x5n6
Nov 25, 2026
Merged

nickmorozov merged 2 commits into
mainfrom
draft/keen-cannon-96x5n6

Conversation

@nickmorozov

Copy link
Copy Markdown
Member

Beta tags get their own Homebrew cask, and every release page shows both install methods.

What changes

  • Beta tags (vX.Y.Z-beta.N) create a GitHub prerelease and update only focusrite-volume-control@beta in the tap. The regular cask and the Sparkle appcast stay untouched.
  • Stable tags update both casks, so anyone on @beta also moves up to stable releases instead of getting stuck on an old beta.
  • The two casks conflicts_with each other, since both install Volume Control.app.
  • Release notes use one template: a Homebrew section (with @beta on betas), DMG steps, a right-click-Open step only for unsigned builds, and the DMG SHA256. Betas add a short banner and a link for reporting problems.
  • Tag validation: anything other than vX.Y.Z or vX.Y.Z-beta.N fails at the first step, before a GitHub release exists.
  • scripts/render_cask.py gains --beta. Only the beta cask accepts prerelease versions.
  • New scripts/test_render_cask.py (8 tests, including ruby -c on every rendered variant), run by CI.
  • The cask template moves caveats after zap to match Homebrew's stanza order.
  • README: short beta-channel install section.

Verification

  • Renderer tests pass locally.
  • Both workflows parse, and every run: block passes bash -n.
  • The version, release-notes and tap steps were run locally for beta/stable × signed/unsigned against a stand-in tap repo. Each case updated the right casks, and every rendered cask passed ruby -c.
  • Not tested against real Homebrew (no brew in the build container): the @beta token, conflicts_with between the two casks, and hyphenated versions. The first real run is the next beta tag, which can't touch the regular cask.

Generated by Claude Code

Beta tags (vX.Y.Z-beta.N) now update a focusrite-volume-control@beta cask in
the tap. Stable tags update both casks, so anyone on the beta cask also gets
stable releases. The two casks conflict with each other because they install
the same app.

Every release page now shows both Homebrew and DMG install steps, with the
@beta cask on betas. The tag is validated before anything is built, so a
malformed tag fails before a GitHub release exists.

render_cask.py gains --beta and accepts prerelease versions for the beta cask
only; its tests now run in CI. The cask template moves caveats after zap to
match Homebrew's stanza order.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VmKKr8ac2AMxJvMTmoGoPc
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VmKKr8ac2AMxJvMTmoGoPc
@nickmorozov
nickmorozov merged commit 6f70891 into main Nov 25, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants